package com.hehe.conversion.hehemiddleware.controller;

import com.hehe.conversion.hehemiddleware.common.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("home")
public class HomeController {
    @GetMapping("")
    Result home() {
        return Result.ok("Hello world");
    }
}
